﻿{extend name="public:layer_new_page_base"}
{block name="content"}
<!-- /.aside -->
<section id="content">
    <section class="vbox">
        <section class="scrollable padder">
            {include file="public:mylocal" /}
            <section class="panel panel-default">
                {include file="public:table_form_header" /}
                <div class="panel-body">
                    <form id="ajaxform_close" class="form-horizontal" method="post">
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">用户名</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.name}" name="name" maxlength="255" class="form-control"  placeholder=" 必填">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">性别</label>
                                <div class="col-sm-10">
                                    {if condition="!empty($list.sex)"}
                                    <label><input type="radio" value="0" name="sex" {if condition="$list.sex==0"} checked  {/if} >女<label>
                                        &nbsp; &nbsp;
                                    <label><input type="radio" value="1" name="sex" {if condition="$list.sex==1"} checked  {/if} >男<label>
                                     {else/}
                                        <label><input type="radio" value="0" name="sex">女<label>
                                            &nbsp; &nbsp;
                                        <label><input type="radio" value="1" name="sex" >男<label>
                                        {/if}
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">生日</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.day}" name="day" maxlength="255" class="form-control"  placeholder=" " style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">qq</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.qq}" name="qq" maxlength="255" class="form-control"  placeholder=" " style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">电话</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.phone}" name="phone" maxlength="255" class="form-control"  placeholder=" 必填"   style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">邮箱</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.email}" name="email" maxlength="255" class="form-control"  style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">微信</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.weixin}" name="weixin" maxlength="255" class="form-control" style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">投资预算资金</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.investment}" name="investment" maxlength="255" class="form-control"  style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">省份</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.province}" name="province" maxlength="255" class="form-control"  placeholder=" 必填" style="width: 160px">
                                </div>
                            </div>
                        </div>

                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">市</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.city}" name="city" maxlength="255" class="form-control"  placeholder=" 必填" style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">县</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.city}" name="city" maxlength="255" class="form-control"  placeholder=" 必填" style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="form-group" >
                            <div class="form-group" >
                                <label class="col-sm-2 control-label">详细地址</label>
                                <div class="col-sm-10">
                                    <input type="text" value="{$list.detail}" name="detail" maxlength="255" class="form-control"  placeholder=" 必填" style="width: 160px">
                                </div>
                            </div>
                        </div>
                        <div class="line line-dashed line-lg pull-in"></div>


                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button type="reset"  class="btn btn-default" style="padding:6px 12px;font-size: 14px;">重 置</button>
                                <button type="submit" class="btn btn-primary" style="padding:6px 12px;font-size: 14px;">保 存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </section>
        </section>
    </section>
</section>
<!-- 配置文件 -->
<script type="text/javascript" src="__STATIC__/console/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__STATIC__/console/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor('container');

</script>

<script type="text/javascript">
    setInterval(function() {
        var imgs = document.getElementById("ueditor_0").contentWindow.document.getElementsByTagName("img");
        var num = imgs.length;
        for (var i = 0; i <= num; i++) {
            imgs[i].style.maxWidth = '800px';
        }
    },1000);
</script>

{/block}
{/extend}
